﻿ 
namespace Core.Items.Modules
{
    /*

		MetaGroup                      = EngineeringEquipment
		Group                          = Erp
		ModuleClass                    = Seismic
		Module                         = 365p-csd seismic erp
		CpuUsage                       = 57.00 TF
		ReactorUsage                   = 20.00 RP
		Type                           = Passive
		Slot                           = Legs
		TechnologicalLevel             = T4
		Mass                           = 525.00 kg
		PackedVolume                   = 0.50 U
		Volume                         = 1.00 U
		ChemicalDamageRecovery         = 30.00 %
		KineticDamageRecovery          = 15.00 %
		SeismicDamageRecovery          = 70.00 %
		ThermalDamageRecovery          = 15.00 %
    */

    using System;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Extensions;
    using Features;
    
    /// <summary>
    /// 365p-CSD seismic ERP module class
    /// </summary>
    /// <remarks>File generated on 31/10/2011 16:00:55</remarks>
    public sealed class PCsdSeismicErp : ModuleBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="PCsdSeismicErp"/> class.
        /// </summary>
        public PCsdSeismicErp()
            : base(
            "365p-CSD seismic ERP",
            "",
            ModuleMetaGroupsEnum.EngineeringEquipment,
            ModuleGroupsEnum.Erp,
            TechnologyLevelsEnum.Level4,
            SizesEnum.Small,
            new LazyFeature[] { 
				new LazyFeature(typeof(CpuUsage<double>),57.00),
				new LazyFeature(typeof(ReactorUsage<double>),20.00),
				new LazyFeature(typeof(ModuleMass<double>),525.00),
				new LazyFeature(typeof(ChemicalDamageRecovery<double>),0.3),
				new LazyFeature(typeof(KineticDamageRecovery<double>),0.15),
				new LazyFeature(typeof(SeismicDamageRecovery<double>),0.7),
				new LazyFeature(typeof(ThermalDamageRecovery<double>),0.15), },
            null,
            new IModifier[] { 
				new Modifier( FeatureTypesEnum.Robot, FeaturesEnum.RobotMass, 525.00 ){ IsVisible = false }, } )
        {
        }

        /// <summary>
        /// Obtains the activation type
        /// </summary>
        public override ModuleActivationTypesEnum ActivationType
        {
            get { return ModuleActivationTypesEnum.Passive; }
        }
        /// <summary>
        /// Obtains the module slot group 
        /// </summary>
        public override SlotGroupsEnum SlotGroup
        {
            get { return SlotGroupsEnum.Legs; }
        }
        /// <summary>
        /// Obtains the module slot type 
        /// </summary>
        public override SlotTypesEnum SlotType
        {
            get { return SlotTypesEnum.Modules; }
        }
    }
}